<section class="wrapper">
              <div class="row">
                  <div class="col-lg-12">
                      <section class="panel">
                          <div class="panel-body progress-panel">
                              <div class="row">
                                  <div class="col-lg-8 task-progress pull-left">
                                      <h1>Páginas do Site</h1>
                                  </div>

                            </div>
                          </div>
                          <table class="table table-hover personal-task">
                              <thead>
                                  <th>ID</th>
                                  <th>Nome da página</th>
                                  <th>Conteúdo</th>
                                  <th>Status</th>
                                  <th style="text-align: right;">Ações</th>
                              </thead>
                              <tbody>
                                  <?php foreach($Pages as $Page):?>
                                  <tr>
                                      <td>
                                          <?php echo($Page['Page']['id']);?>
                                      </td>
                                      <td>
                                          <?php echo($Page['Page']['title']);?>
                                      </td>
                                      <td>
                                          <?php echo($Page['Page']['subtitle']);?>
                                      </td>
                                      <td>
                                          <?php echo($Page['Page']['status'] ? $this->Element("StatusOnline") : $this->Element("StatusOffline"));?>
                                      </td>
                                      <td>
                                          <!--<div id="work-progress2"></div>-->
                                          <?php
                                          echo $this->Html->link(
                                              '<span class="badge bg-info">Editar</span>',
                                              array('action' => 'edit',$Page['Page']['id'], 'full_base' => true,),array('escape' => false)
                                          );
                                          ?>
                                          <?php
                                          echo $this->Html->link(
                                              '<span class="badge bg-danger">Remover</span>',
                                              array('action' => 'delete',$Page['Page']['id'], 'full_base' => true,),array('escape' => false)
                                          );
                                          ?>
                                      </td>
                                  </tr>
                                  <?php endforeach;?>
                              </tbody>
                          </table>
                      </section>
                      <?php
                      /*echo $this->Html->link(
                          '<span class="well badge bg-info">Adicionar novo</span>',
                          array('action' => 'add', 'full_base' => true,),array('escape' => false)
                      );*/
                      ?>
                  </div>
              </div>
          </section>
